package com.wangwei.jvm.gc;

public class LambdaGC {
    public static void main(String[] args) {
        for(;;) {
            J i = C::n;
        }
    }

    public static interface I {
        void m();
    }
    public static interface J {
        void m();
    }

    public static class C {
        static void n() {
            System.out.println("hello");
        }
    }
    public void tt(){
        for(int i=0; i<100; i++) {
            Object o = new Object();
            o.toString();
        }

    }
}
